package metalink.student;
import java.util.ArrayList;

import vo.TimeTableVo;

import com.opensymphony.xwork2.ActionSupport;

import model.student.*;
public class StudentTimeTable extends ActionSupport{
String value="";
ArrayList<TimeTableVo> timetablelist = new ArrayList<TimeTableVo>();
	public String execute()throws Exception{
		StudentTimeTableMo time = new StudentTimeTableMo();
		if(value.contentEquals("studenttimetable")){
			timetablelist=time.getStudentTimeTable();
			System.out.println(value);
		}
		return SUCCESS;
	}
	
	public ArrayList<TimeTableVo> getTimetablelist() {
		return timetablelist;
	}

	public void setTimetablelist(ArrayList<TimeTableVo> timetablelist) {
		this.timetablelist = timetablelist;
	}

	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	
}
